package kr.hkit.powerjava.chapter07;
/*Exercise 01 값을 초기화하고 출력하라 */
class NumberBox{
		public int ivalue;
		public float fvalue;
		
		public int getIvalue() {
			return ivalue;
		}
		public void setIvalue(int ivalue) {
			this.ivalue = ivalue;
		}
		public float getFvalue() {
			return fvalue;
		}
		public void setFvalue(float fvalue) {
			this.fvalue = fvalue;
		}
		@Override
		public String toString() {
			return "NumberBox [ivalue=" + ivalue + ", fvalue=" + fvalue + "]";
		} 
}

public class NumberBoxTest {
	public static void main(String[] args) {
		NumberBox n1 = new NumberBox();
		n1.setIvalue(10);
		n1.setFvalue(1.2345f);
		System.out.println(n1);
		
		
	}
}
